#!/bin/sh

#. /home/dab/.zshenv
M=$(bspc query -M | wc -l)
if [[ "$M" == 1 ]]; then
    bspc monitor -d 1 2 3 4 5
elif [[ "$M" == 2 ]]; then
    bspc monitor $(bspc query -M | awk NR==1) -d 1 2 3 4 5
    bspc monitor $(bspc query -M | awk NR==2) -d 6 7 8 9 10
fi
